package edu.neu.ecommerceplatform.mapper;

import edu.neu.ecommerceplatform.model.Deliver;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface DeliverMapper {
    List<Deliver> findAll();
    Deliver findById(Integer id);
    List<Deliver> findByOrderId(Integer orderId);
    int save(Deliver deliver);
    int update(Deliver deliver);
    void deleteById(Integer id);
} 